package com.example.ibsp_demo.pojo.entity.content;

import java.time.LocalDateTime;

public class ContentInteraction {
    private Integer ciid;
    private Integer ctid; //内容id
    private Integer uid;
    private String action; //互动类型？ 为什么是String 类型
    private LocalDateTime actionTime ;

    public ContentInteraction() {
    }

    public ContentInteraction(Integer ciid, Integer ctid, Integer uid, String action, LocalDateTime actionTime) {
        this.ciid = ciid;
        this.ctid = ctid;
        this.uid = uid;
        this.action = action;
        this.actionTime = actionTime;
    }

    @Override
    public String toString() {
        return "ContentInteraction{" +
                "ciid=" + ciid +
                ", ctid=" + ctid +
                ", uid=" + uid +
                ", action='" + action + '\'' +
                ", actionTime=" + actionTime +
                '}';
    }

    public Integer getCiid() {
        return ciid;
    }

    public void setCiid(Integer ciid) {
        this.ciid = ciid;
    }

    public Integer getCtid() {
        return ctid;
    }

    public void setCtid(Integer ctid) {
        this.ctid = ctid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public LocalDateTime getActionTime() {
        return actionTime;
    }

    public void setActionTime(LocalDateTime actionTime) {
        this.actionTime = actionTime;
    }
}
